package com.ruoyi.system.domain.dto;


import com.ruoyi.common.core.domain.entity.ChannelSort;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

public class TChannelSortDto implements Serializable {

    /** 上级渠道分类ID */
    @NotNull(message = "上局渠道分类不能为空")
    private String superId;

    /** 渠道分类 */
    @Valid
    List<ChannelSort> list;

    public String getSuperId() {
        return superId;
    }

    public void setSuperId(String superId) {
        this.superId = superId;
    }

    public List<ChannelSort> getList() {
        return list;
    }

    public void setList(List<ChannelSort> list) {
        this.list = list;
    }
}
